import { List, Map } from 'immutable';
const init = List([]);
const initialState = {
};

export default function(state = initialState, action) {
    switch(action.type) {
        case 'REQUEST_ALLOCATION':
            return {...state,action}
        case 'RECEIVE_ALLOCATION':
            return {...state,action}
        case 'REQUEST_QUICKALLOCATION':
            return {...state,action}
        case 'RECEIVE_QUICKALLOCATION':
            return {...state,action}
        case 'SWITCH_ALLOCATION':
            return {...state,action}
        case 'SAVE_ALLOCATION':
            return {...state,action}
        default:
            return initialState;
    }
}
